import request from '@/untils/request.js'

export const getAdminComments =params =>{
    return request({
        method:'GET',
        url:'/comment/admin/find',
        params

    })
} 

export const getWebComments =params =>{
    return request({
        method:'GET',
        url:'/comment/web/find',
        params

    })
} 

export const addComments = data =>{
    return request({
        method:'Post',
        url:'/comment/add',
        data
    })
}